package com.demo.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 患者用户档案表
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisPatientFile对象", description = "患者用户档案表")
public class THisPatientFile {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "file_id", type = IdType.AUTO)
    private Integer fileId;

    @ApiModelProperty(value = "患者id")
    private Integer patientId;

    @ApiModelProperty(value = "紧急联系人")
    private String emergencyContactName;

    @ApiModelProperty(value = "紧急联系人电话")
    private String emergencyContactMobile;

    @ApiModelProperty(value = "紧急联系人关系 1：爸爸  2：妈妈  3：儿子  4：女儿  5：亲戚  6：朋友")
    private Integer emergencyContactRelation;

    @ApiModelProperty(value = "左耳听力 1：正常  2：耳聋")
    private Boolean leftEarHearing;

    @ApiModelProperty(value = "右耳听力 1：正常  2：耳聋")
    private Boolean rightEarHearing;

    @ApiModelProperty(value = "左眼视力")
    private BigDecimal leftVision;

    @ApiModelProperty(value = "修改时间")
    private Integer updateTime;

    @ApiModelProperty(value = "右眼视力")
    private BigDecimal rightVision;

    @ApiModelProperty(value = "身高")
    private BigDecimal height;

    @ApiModelProperty(value = "体重")
    private BigDecimal weight;

    @ApiModelProperty(value = "血型 1:A 2:B 3:AB 4:O    Rh血型 1:阴性 2:阳性")
    private String bloodType;

    @ApiModelProperty(value = "创建时间")
    private Integer createTime;

    @ApiModelProperty(value = "个人史")
    private String personalInfo;

    @ApiModelProperty(value = "家族史")
    private String familyInfo;


}
